package cn.changeforyou.web.blog.service;


import cn.changeforyou.web.blog.po.Article;
import java.util.List;

import org.nutz.dao.QueryResult;
import org.nutz.dao.pager.Pager;

public interface ArticleService {

	QueryResult getArticlePage(Pager pager);

	Article getById(int id);

    QueryResult search(long t, String keywords, Pager pager);

	List<String> searchTag();

    Article saveOrUpdate(Article article);

    void delete(Integer id);
}
